home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
editor
/
j414src.arc
/
KEYMAPS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-10-10
|
1KB
|
40 lines
/***************************************************************************
* This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE *
* is provided to you without charge, and with no warranty. You may give *
* away copies of JOVE, including sources, provided that this notice is *
* included in all the files. *
***************************************************************************/
struct keymap {
int Type; /* keymap type */
char *Name; /* keymap name */
data_obj **k_keys; /* keys array */
char k_alloc_p; /* whether we alloced k_keys */
};
extern data_obj *MainKeys[NCHARS],
*EscKeys[NCHARS],
*CtlxKeys[NCHARS],
*MiscKeys[NCHARS];
#ifdef MAC /* used in About Jove... */
# define F_MAINMAP '\001'
# define F_PREF1MAP '\002'
# define F_PREF2MAP '\003'
#endif
extern int
this_cmd, /* ... */
last_cmd; /* last command ... to implement appending
to kill buffer */
extern void
BindSomething proto((struct data_obj *(*proc)(), struct keymap *map)),
BindWMap proto((struct keymap *map, int lastkey, struct data_obj *cmd)),
DescMap proto((struct keymap *map, char *pref)),
DescWMap proto((struct keymap *map, int key)),
dispatch proto((int c));
extern int
PrefChar proto((int c)); /* Is `c' a prefix character */